﻿Imports Microsoft.VisualBasic

Public Class KhachSan

    Private _STARS As Integer
    Private _ID As Guid
    Private _NAME As String
    Private _NAME_KD As String
    Private _IMG_URL As String
    Private _CITY_ID As Guid
    Private _ADDRESS_1 As String

    Private _GIA As Double
    Private _GIAKS As Double
    Private _COUNTDANHGIA As Integer
    Private _HIENTHIGIA As Boolean
    Private _LINK As String
    Private _NAMELOAIPHONG As String
    Private _DESCRIPTION As String
    Private _QUY_DINH As String
    Private _IMG_LIST As String
    Private _VIDEO_LIST As String
    Private _IDLOAIPHONG As Guid

    Private _DIEN_TICH As String
    Private _DESCRIPTIONLOAIPHONG As String
    Private _SO_NGUOI As Integer
    Private _SO_GIUONG_DON As Integer
    Private _SO_GIUONG_DOI As Integer
    'lp.DIEN_TICH, lp.SO_NGUOI, lp.SO_GIUONG_DON, lp.SO_GIUONG_DOI, lp.DESCRIPTION

    Public Property STARS() As Integer
        Get
            Return _STARS
        End Get
        Set(ByVal value As Integer)
            _STARS = value
        End Set
    End Property
    Public Property NAME() As String
        Get
            Return _NAME
        End Get
        Set(ByVal value As String)
            _NAME = value
        End Set
    End Property

    Public Property ID() As Guid
        Get
            Return _ID
        End Get
        Set(ByVal value As Guid)
            _ID = value
        End Set
    End Property
    Public Property NAME_KD() As String
        Get
            Return _NAME_KD
        End Get
        Set(ByVal value As String)
            _NAME_KD = value
        End Set
    End Property
    Public Property IMG_URL() As String
        Get
            Return _IMG_URL
        End Get
        Set(ByVal value As String)
            _IMG_URL = value
        End Set
    End Property

    Public Property ADDRESS_1() As String
        Get
            Return _ADDRESS_1
        End Get
        Set(ByVal value As String)
            _ADDRESS_1 = value
        End Set
    End Property
    Public Property CITY_ID() As Guid
        Get
            Return _CITY_ID
        End Get
        Set(ByVal value As Guid)
            _CITY_ID = value
        End Set
    End Property
    Public Property GIA() As Double
        Get
            Return _GIA
        End Get
        Set(ByVal value As Double)
            _GIA = value
        End Set
    End Property
    Public Property GIAKS() As Double
        Get
            Return _GIAKS
        End Get
        Set(ByVal value As Double)
            _GIAKS = value
        End Set
    End Property
    Public Property COUNTDANHGIA() As Integer
        Get
            Return _COUNTDANHGIA
        End Get
        Set(ByVal value As Integer)
            _COUNTDANHGIA = value
        End Set
    End Property
    Public Property HIENTHIGIA() As Integer
        Get
            Return _HIENTHIGIA
        End Get
        Set(ByVal value As Integer)
            _HIENTHIGIA = value
        End Set
    End Property
    Public Property LINK() As String
        Get
            Return _LINK
        End Get
        Set(ByVal value As String)
            _LINK = value
        End Set
    End Property
    Public Property NAMELOAIPHONG() As String 
        Get
            Return _NAMELOAIPHONG
        End Get
        Set(ByVal value As String)
            _NAMELOAIPHONG = value
        End Set
    End Property
    Public Property  DESCRIPTION() As String 
        Get
            Return _DESCRIPTION
        End Get
        Set(ByVal value As String)
            _DESCRIPTION = value
        End Set
    End Property
    Public  Property QUY_DINH() As String 
        Get
            Return _QUY_DINH
        End Get
        Set(ByVal value As String)
            _QUY_DINH = value
        End Set
    End Property
    Public Property IMG_LIST() As String
        Get
            Return _IMG_LIST
        End Get
        Set(ByVal value As String)
            _IMG_LIST = value
        End Set
    End Property
    Public Property VIDEO_LIST() As String
        Get
            Return _VIDEO_LIST
        End Get
        Set(ByVal value As String)
            _VIDEO_LIST = value
        End Set
    End Property
    Public Property IDLOAIPHONG() As Guid
        Get
            Return _IDLOAIPHONG
        End Get
        Set(ByVal value As Guid)
            _IDLOAIPHONG = value
        End Set
    End Property
    Public Property DIEN_TICH() As String
        Get
            Return _DIEN_TICH
        End Get
        Set(ByVal value As String)
            _DIEN_TICH = value
        End Set
    End Property
    Public Property DESCRIPTIONLOAIPHONG() As String
        Get
            Return _DESCRIPTIONLOAIPHONG
        End Get
        Set(ByVal value As String)
            _DESCRIPTIONLOAIPHONG = value
        End Set
    End Property
    Public Property SO_NGUOI() As Integer
        Get
            Return _SO_NGUOI
        End Get
        Set(ByVal value As Integer)
            _SO_NGUOI = value
        End Set
    End Property
    Public Property SO_GIUONG_DON() As Integer
        Get
            Return _SO_GIUONG_DON
        End Get
        Set(ByVal value As Integer)
            _SO_GIUONG_DON = value
        End Set
    End Property
    Public Property SO_GIUONG_DOI() As Integer
        Get
            Return _SO_GIUONG_DOI
        End Get
        Set(ByVal value As Integer)
            _SO_GIUONG_DOI = value
        End Set
    End Property
    Public Sub New()
        _STARS = 0
        _ID = Nothing
        _NAME = ""
        _NAME_KD = ""
        _IMG_URL = ""
        _ADDRESS_1 = ""
        _CITY_ID = Nothing
        _GIA = 0
        _COUNTDANHGIA = 0
        _HIENTHIGIA = False
        _LINK = ""
        _NAMELOAIPHONG = ""
        _DESCRIPTION = ""
        _QUY_DINH = ""
        _VIDEO_LIST = ""
        _IMG_LIST = ""
        _IDLOAIPHONG = Nothing
        _GIAKS = 0
        _SO_GIUONG_DOI = 0
        _SO_GIUONG_DON = 0
        _SO_NGUOI = 0
        _DIEN_TICH = ""
        _DESCRIPTIONLOAIPHONG = ""
    End Sub


End Class
